//package net.lgy.properties;
//
//import lombok.Data;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.stereotype.Component;
//
//// 绑定前缀为 "spring.redis" 的配置
//@Component
//@ConfigurationProperties(prefix = "spring.redis")
//@Data
//public class RedisProperties {
//    private String host;
//    private int port = 6379; // 默认值，配置文件未指定时使用
//
//}